package com.zhiyi.xppay.utils;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * 

* @ClassName: DBHelper

* @Description: TODO(这里用一句话描述这个类的作用)

* @author SuXiaoliang

* @date 2018年6月23日 下午1:27:16

*
 */
public class DBHelperNxys extends SQLiteOpenHelper {
	public DBHelperNxys(Context context) {
        super(context, "trade.db", null, 1);
    }

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("CREATE TABLE IF NOT EXISTS trade" +
				"(_id INTEGER PRIMARY KEY AUTOINCREMENT, tradeno varchar)");

	}
 
	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub
	}  
}
